package com.telnetnz.ticketdesk.dao.entity;

import java.io.Serializable;
import java.util.Date;

public class TemplateEntity implements Serializable
{
	private static final long serialVersionUID = 6978610815157116294L;
	private int id;
	private String name;
	private String content;
	private int type;
	private Date updateTime;

	public int getId()
	{
		return id;
	}
	public void setId(int id)
	{
		this.id = id;
	}
	public String getName()
	{
		return name;
	}
	public void setName(String name)
	{
		this.name = name;
	}
	public String getContent()
	{
		return content;
	}
	public void setContent(String content)
	{
		this.content = content;
	}
	public Date getUpdateTime()
	{
		return updateTime;
	}
	public void setUpdateTime(Date updateTime)
	{
		this.updateTime = updateTime;
	}
	public int getType()
	{
		return type;
	}
	public void setType(int type)
	{
		this.type = type;
	}

	public void initialize()
	{
		name = "";
		content = "";
		updateTime = new Date();
	}
}
